﻿<UserControl x:Class="HelloWorld.Startup.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:locLib="clr-namespace:LocalizationLibrary;assembly=LocalizationLibrary"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400" Loaded="UserControl_Loaded">
    <Grid x:Name="LayoutRoot" Height="600" Width="800" >
        <Grid.Background>
            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                <GradientStop Color="#FF14436E" Offset="0.137"/>
                <GradientStop Color="#FF3D9BF1" Offset="1"/>
            </LinearGradientBrush>
        </Grid.Background>
        <Grid HorizontalAlignment="Center" VerticalAlignment="Center">
            <Grid>
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                </Grid.RowDefinitions>
                <ContentControl Name="headerContentControl" Grid.Row="0"/>
                <Border Grid.Row="1" Margin="10" CornerRadius="5">
                    <Border.Background>
                        <SolidColorBrush Color="White" Opacity="0.1"/>
                    </Border.Background>
                    <ContentControl Name="viewContentControl" Margin="10"/>
                </Border>
            </Grid>
            <Grid Grid.Row="0" Grid.RowSpan="2" Name="waitingPanel">
                <Grid.Background>
                    <SolidColorBrush Color="White" Opacity="0.6"/>
                </Grid.Background>
                <Border VerticalAlignment="Center" HorizontalAlignment="Center"
                    Width="200" Height="50" Background="White">
                    <TextBlock Text="Localization Library is localizing!" VerticalAlignment="Center" HorizontalAlignment="Center"/>
                </Border>
            </Grid>
        </Grid>
    </Grid>
</UserControl>
